package lb.io.apis.meta.v1.codes;

import lb.io.apimachinery.pkg.apis.meta.v1.Status;

public class LetException extends RuntimeException {
    private static final long serialVersionUID = -6979901566637669960L;

    private Codez codez;

    private String reason;

    public LetException() {

    }

    public LetException(Codez codez, String reason) {
        this.codez = codez;
        this.reason = reason;
    }

    public LetException(Codez codez) {
        this.codez = codez;
    }

    public Codez getCodez() {
        return codez;
    }

    public String getReason() {
        return reason;
    }

    public LetException setReason(String reason) {
        this.reason = reason;
        return this;
    }
}
